import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();

        if (b == 0) {
            throw new ArithmeticException("除数为0");// 括号中的语句为抛出异常后的输出语句
        }

        System.out.println(a / b);
    }
}
